package org.itzheng.database.dao;

import org.itzheng.database.entity.PlayListEntity;

import java.util.List;

import androidx.room.Dao;
import androidx.room.Query;

/**
 * Title:<br>
 * Description: <br>
 *
 * @email ItZheng@ZoHo.com
 * Created by itzheng on 2020-12-8.
 */
@Dao
public interface PlayListEntityDao extends BaseDao<PlayListEntity> {
    @Query("select * from PlayListEntity")
    public List<PlayListEntity> query();

    @Query("select * from PlayListEntity where fJsonStr=:json")
    public List<PlayListEntity> queryById(String json);
}
